
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>4.1 协议模板管理 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-prism/prism-base16-ateliersulphurpool.light.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-alerts/style.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    1. 应用管理
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../app_type/App_Type.html">
            
                <a href="../app_type/App_Type.html">
            
                    
                    1.1 应用管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../app_type/appType-relation.html">
            
                <a href="../app_type/appType-relation.html">
            
                    
                    1.2 应用菜单关系
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    2. 项目管理
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../project/project-crud.html">
            
                <a href="../project/project-crud.html">
            
                    
                    2.1 项目CRUD
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../project/project-relation.html">
            
                <a href="../project/project-relation.html">
            
                    
                    2.2 项目与资源关系
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../project/project-resource-add-change.html">
            
                <a href="../project/project-resource-add-change.html">
            
                    
                    2.3 项目资源相关API调整
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    3. 设备管理
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../device/device.html">
            
                <a href="../device/device.html">
            
                    
                    3.1 设备相关新增API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../device/device_rpc.html">
            
                <a href="../device/device_rpc.html">
            
                    
                    3.2 设备指令下发相关新增API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    4. 协议模板
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.5.1" data-path="device_template.html">
            
                <a href="device_template.html">
            
                    
                    4.1 协议模板管理
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    5. 告警
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../alarm/alarm-setting.html">
            
                <a href="../alarm/alarm-setting.html">
            
                    
                    告警设置新增API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../alarm/alarm.html">
            
                <a href="../alarm/alarm.html">
            
                    
                    告警记录新增API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" >
            
                <span>
            
                    
                    6. 租户管理
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../tenant/tenant.html">
            
                <a href="../tenant/tenant.html">
            
                    
                    6.1 租户管理API调整
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" >
            
                <span>
            
                    
                    7. 虚拟表
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../virtual/virtual.html">
            
                <a href="../virtual/virtual.html">
            
                    
                    7.1 虚拟表新增API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../virtual/virtual-change.html">
            
                <a href="../virtual/virtual-change.html">
            
                    
                    7.2 虚拟表API调整
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" >
            
                <span>
            
                    
                    8.数据源
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="../data_source/data_source.html">
            
                <a href="../data_source/data_source.html">
            
                    
                    8.1 数据源新增API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../data_source/restApi.html">
            
                <a href="../data_source/restApi.html">
            
                    
                    8.2 RestApi新增API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" >
            
                <span>
            
                    
                    9.TOKEN
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="../token/token.html">
            
                <a href="../token/token.html">
            
                    
                    9.1 TOKEN新增API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" >
            
                <span>
            
                    
                    10.VIDEO
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="../video/video.html">
            
                <a href="../video/video.html">
            
                    
                    10.1 VIDEO新增API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" >
            
                <span>
            
                    
                    11.log
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="../log/msgLog.html">
            
                <a href="../log/msgLog.html">
            
                    
                    11.1 消息日志API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.2" data-path="../log/deviceLog.html">
            
                <a href="../log/deviceLog.html">
            
                    
                    11.2 设备日志API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.13" >
            
                <span>
            
                    
                    12.组态
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="../dash_chart/dash_chart.html">
            
                <a href="../dash_chart/dash_chart.html">
            
                    
                    12.1 组态API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" >
            
                <span>
            
                    
                    13.逻辑流程
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="../logical_flow/logical_flow.html">
            
                <a href="../logical_flow/logical_flow.html">
            
                    
                    13.1 逻辑流程基本信息API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.2" data-path="../logical_flow/logical_flow_node.html">
            
                <a href="../logical_flow/logical_flow_node.html">
            
                    
                    13.2 逻辑流程节点信息API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.3" data-path="../logical_flow/logical_flow_history.html">
            
                <a href="../logical_flow/logical_flow_history.html">
            
                    
                    13.3 逻辑流程运行历史API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" >
            
                <span>
            
                    
                    14.外部联系人
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.15.1" data-path="../user/extra_user.html">
            
                <a href="../user/extra_user.html">
            
                    
                    14.1 外部联系人API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.16" >
            
                <span>
            
                    
                    15.维修保养
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.16.1" data-path="../maintain/maintain.html">
            
                <a href="../maintain/maintain.html">
            
                    
                    15.1 保养设置API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16.2" data-path="../maintain/maintain_record.html">
            
                <a href="../maintain/maintain_record.html">
            
                    
                    15.3 保养记录API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.17" >
            
                <span>
            
                    
                    16.工控机
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.17.1" data-path="../ipc/ipc.html">
            
                <a href="../ipc/ipc.html">
            
                    
                    16.1 工控机相关API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.18" >
            
                <span>
            
                    
                    17.操作验证
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.18.1" data-path="../captcha/captcha.html">
            
                <a href="../captcha/captcha.html">
            
                    
                    17.1 验证码相关API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.19" >
            
                <span>
            
                    
                    18.公告
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.19.1" data-path="../bulletin/bulletin.html">
            
                <a href="../bulletin/bulletin.html">
            
                    
                    18.1 公告相关API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >4.1 协议模板管理</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div class="search-plus" id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#&#x57FA;&#x7840;&#x5185;&#x5BB9;"><b>1. </b>&#x57FA;&#x7840;&#x5185;&#x5BB9;</a></li><ul><li><span class="title-icon "></span><a href="#&#x8BBE;&#x5907;&#x6A21;&#x677F;"><b>1.1. </b>&#x8BBE;&#x5907;&#x6A21;&#x677F;</a></li><li><span class="title-icon "></span><a href="#&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF1A;&#x534F;&#x8BAE;&#x7ED3;&#x6784;&#x5982;&#x4E0B;"><b>1.2. </b>&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF1A;&#x534F;&#x8BAE;&#x7ED3;&#x6784;&#x5982;&#x4E0B;</a></li><ul><li><span class="title-icon "></span><a href="#modbus"><b>1.2.1. </b>Modbus</a></li><li><span class="title-icon "></span><a href="#mqtt"><b>1.2.2. </b>MQTT</a></li></ul></ul><li><span class="title-icon "></span><a href="#&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x6A21;&#x677F;api"><b>2. </b>&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x6A21;&#x677F;API</a></li><ul><li><span class="title-icon "></span><a href="#&#x65B0;&#x589E;&#x8BBE;&#x5907;&#x6A21;&#x677F;"><b>2.1. </b>&#x65B0;&#x589E;&#x8BBE;&#x5907;&#x6A21;&#x677F;</a></li><ul><li><span class="title-icon "></span><a href="#url"><b>2.1.1. </b>URL</a></li><li><span class="title-icon "></span><a href="#&#x53C2;&#x6570;"><b>2.1.2. </b>&#x53C2;&#x6570;</a></li></ul><li><span class="title-icon "></span><a href="#&#x4FEE;&#x6539;&#x8BBE;&#x5907;&#x6A21;&#x677F;"><b>2.2. </b>&#x4FEE;&#x6539;&#x8BBE;&#x5907;&#x6A21;&#x677F;</a></li><ul><li><span class="title-icon "></span><a href="#url_1"><b>2.2.1. </b>URL</a></li><li><span class="title-icon "></span><a href="#&#x53C2;&#x6570;_1"><b>2.2.2. </b>&#x53C2;&#x6570;</a></li></ul><li><span class="title-icon "></span><a href="#&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x4EC5;&#x5305;&#x542B;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x6570;&#x636E;&#x4E0D;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;"><b>2.3. </b>&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x4EC5;&#x5305;&#x542B;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x6570;&#x636E;&#x4E0D;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;</a></li><ul><li><span class="title-icon "></span><a href="#url_2"><b>2.3.1. </b>URL</a></li><li><span class="title-icon "></span><a href="#&#x53C2;&#x6570;_2"><b>2.3.2. </b>&#x53C2;&#x6570;</a></li><li><span class="title-icon "></span><a href="#&#x8FD4;&#x56DE;&#x7ED3;&#x679C;"><b>2.3.3. </b>&#x8FD4;&#x56DE;&#x7ED3;&#x679C;</a></li></ul><li><span class="title-icon "></span><a href="#&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;"><b>2.4. </b>&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;</a></li><ul><li><span class="title-icon "></span><a href="#url_3"><b>2.4.1. </b>URL</a></li><li><span class="title-icon "></span><a href="#&#x53C2;&#x6570;_3"><b>2.4.2. </b>&#x53C2;&#x6570;</a></li><li><span class="title-icon "></span><a href="#&#x8FD4;&#x56DE;&#x7ED3;&#x679C;_1"><b>2.4.3. </b>&#x8FD4;&#x56DE;&#x7ED3;&#x679C;</a></li></ul><li><span class="title-icon "></span><a href="#&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x5217;&#x8868;"><b>2.5. </b>&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x5217;&#x8868;</a></li><ul><li><span class="title-icon "></span><a href="#url_4"><b>2.5.1. </b>URL</a></li><li><span class="title-icon "></span><a href="#&#x53C2;&#x6570;_4"><b>2.5.2. </b>&#x53C2;&#x6570;</a></li><li><span class="title-icon "></span><a href="#&#x8FD4;&#x56DE;&#x7ED3;&#x679C;_2"><b>2.5.3. </b>&#x8FD4;&#x56DE;&#x7ED3;&#x679C;</a></li></ul><li><span class="title-icon "></span><a href="#&#x5220;&#x9664;&#x6A21;&#x677F;&#x4FE1;&#x606F;"><b>2.6. </b>&#x5220;&#x9664;&#x6A21;&#x677F;&#x4FE1;&#x606F;</a></li><ul><li><span class="title-icon "></span><a href="#url_5"><b>2.6.1. </b>URL</a></li><li><span class="title-icon "></span><a href="#&#x53C2;&#x6570;_5"><b>2.6.2. </b>&#x53C2;&#x6570;</a></li></ul><li><span class="title-icon "></span><a href="#&#x4FDD;&#x5B58;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x53CA;&#x534F;&#x8BAE;&#x4FE1;&#x606F;"><b>2.7. </b>&#x4FDD;&#x5B58;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x53CA;&#x534F;&#x8BAE;&#x4FE1;&#x606F;</a></li><ul><li><span class="title-icon "></span><a href="#url_6"><b>2.7.1. </b>URL</a></li><li><span class="title-icon "></span><a href="#&#x53C2;&#x6570;_6"><b>2.7.2. </b>&#x53C2;&#x6570;</a></li></ul><li><span class="title-icon "></span><a href="#&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x51FA;"><b>2.8. </b>&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x51FA;</a></li><ul><li><span class="title-icon "></span><a href="#url_7"><b>2.8.1. </b>URL</a></li><li><span class="title-icon "></span><a href="#&#x53C2;&#x6570;&#x8BF4;&#x660E;"><b>2.8.2. </b>&#x53C2;&#x6570;&#x8BF4;&#x660E;</a></li><li><span class="title-icon "></span><a href="#&#x8FD4;&#x56DE;&#x503C;"><b>2.8.3. </b>&#x8FD4;&#x56DE;&#x503C;</a></li></ul><li><span class="title-icon "></span><a href="#&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x5165;"><b>2.9. </b>&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x5165;</a></li><ul><li><span class="title-icon "></span><a href="#url_8"><b>2.9.1. </b>URL</a></li><li><span class="title-icon "></span><a href="#&#x53C2;&#x6570;&#x8BF4;&#x660E;_1"><b>2.9.2. </b>&#x53C2;&#x6570;&#x8BF4;&#x660E;</a></li><li><span class="title-icon "></span><a href="#&#x8FD4;&#x56DE;&#x503C;_1"><b>2.9.3. </b>&#x8FD4;&#x56DE;&#x503C;</a></li></ul></ul></ul></div><a href="#&#x57FA;&#x7840;&#x5185;&#x5BB9;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="&#x57FA;&#x7840;&#x5185;&#x5BB9;"><a name="&#x57FA;&#x7840;&#x5185;&#x5BB9;" class="anchor-navigation-ex-anchor" href="#&#x57FA;&#x7840;&#x5185;&#x5BB9;"><i class="fa fa-link" aria-hidden="true"></i></a>1. &#x57FA;&#x7840;&#x5185;&#x5BB9;</h1>
<h2 id="&#x8BBE;&#x5907;&#x6A21;&#x677F;"><a name="&#x8BBE;&#x5907;&#x6A21;&#x677F;" class="anchor-navigation-ex-anchor" href="#&#x8BBE;&#x5907;&#x6A21;&#x677F;"><i class="fa fa-link" aria-hidden="true"></i></a>1.1. &#x8BBE;&#x5907;&#x6A21;&#x677F;</h2>
<h2 id="&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF1A;&#x534F;&#x8BAE;&#x7ED3;&#x6784;&#x5982;&#x4E0B;"><a name="&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF1A;&#x534F;&#x8BAE;&#x7ED3;&#x6784;&#x5982;&#x4E0B;" class="anchor-navigation-ex-anchor" href="#&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF1A;&#x534F;&#x8BAE;&#x7ED3;&#x6784;&#x5982;&#x4E0B;"><i class="fa fa-link" aria-hidden="true"></i></a>1.2. &#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF1A;&#x534F;&#x8BAE;&#x7ED3;&#x6784;&#x5982;&#x4E0B;</h2>
<h3 id="modbus"><a name="modbus" class="anchor-navigation-ex-anchor" href="#modbus"><i class="fa fa-link" aria-hidden="true"></i></a>1.2.1. Modbus</h3>
<pre class="language-"><code class="lang-json"><span class="token punctuation">{</span>
    <span class="token property">&quot;name&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;maxLength&quot;</span><span class="token operator">:</span> <span class="token number">-1</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;name&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x53D8;&#x91CF;&#x540D;&#x79F0;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;propertyCategory&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;maxLength&quot;</span><span class="token operator">:</span> <span class="token number">-1</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;property category&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5B9E;&#x9645;&#x53D8;&#x91CF;&#x540D;&#x79F0;(&#x975E;&#x4E2D;&#x6587;)&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;unique&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;statType&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;select&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;stat type&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x7EDF;&#x8BA1;&#x7C7B;&#x578B;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;options&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x7D2F;&#x8BA1;&#x503C;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;0&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x77AC;&#x65F6;&#x503C;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">]</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;dataType&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;select&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;data type&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x6570;&#x636E;&#x7C7B;&#x578B;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;options&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;char&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;8&#x4F4D;&#x6709;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;byte&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;8&#x4F4D;&#x65E0;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;short&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;16&#x4F4D;&#x6709;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;word&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;16&#x4F4D;&#x65E0;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;DINT&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;32&#x4F4D;&#x6709;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Dword&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;32&#x4F4D;&#x65E0;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;float&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5355;&#x7CBE;&#x5EA6;&#x6D6E;&#x70B9;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;REAL&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x53CC;&#x7CBE;&#x5EA6;&#x6D6E;&#x70B9;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;String&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;String&#x5B57;&#x7B26;&#x4E32;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Long&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Long&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Boolean&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Boolean&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;short&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Short&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;hlong&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x6709;&#x7B26;&#x53F7;Long&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;ulong&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x65E0;&#x7B26;&#x53F7;Long&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;float&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Float&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;part&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;24&#x4F4D;&#x7279;&#x6B8A;&#x8BFB;&#x53D6;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;bit&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Bit&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">]</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;propertyType&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;select&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;property type&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x53D8;&#x91CF;&#x7C7B;&#x578B;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;options&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x666E;&#x901A;&#x53D8;&#x91CF;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5F00;&#x5173;&#x663E;&#x793A;&#x91CF;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;3&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x63A7;&#x5236;&#x91CF;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">]</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;unit&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;maxLength&quot;</span><span class="token operator">:</span> <span class="token number">10</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;unit&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5355;&#x4F4D;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;registerType&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;select&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;register type&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5BC4;&#x5B58;&#x5668;&#x7C7B;&#x578B;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;options&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;0&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x666E;&#x901A;&#x5BC4;&#x5B58;&#x5668;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x4F4D;&#x5BC4;&#x5B58;&#x5668;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">]</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;functionCode&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;function code&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x529F;&#x80FD;&#x7801;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
        <span class="token property">&quot;min&quot;</span><span class="token operator">:</span> <span class="token number">0</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;registerAddress&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;register address&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5BC4;&#x5B58;&#x5668;&#x5730;&#x5740;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
        <span class="token property">&quot;min&quot;</span><span class="token operator">:</span> <span class="token number">0</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;byteCount&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;register count&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x8BFB;&#x53D6;&#x5BC4;&#x5B58;&#x5668;&#x4E2A;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
        <span class="token property">&quot;min&quot;</span><span class="token operator">:</span> <span class="token number">1</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;bitPosition&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;bit position&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x4F4D;&#x5BC4;&#x5B58;&#x5668;&#x8BFB;&#x53D6;&#x5730;&#x5740;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;needed&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;registerType&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1&quot;</span>
        <span class="token punctuation">}</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;registerSignFlag&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;select&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;register sign flag&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x6570;&#x636E;&#x6709;&#x65E0;&#x7B26;&#x53F7;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;options&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;0&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x65E0;&#x7B26;&#x53F7;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x6709;&#x7B26;&#x53F7;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;sampleDeviation&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;sample deviation&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x6BCF;&#x5C0F;&#x65F6;&#x6570;&#x636E;&#x504F;&#x5DEE;&#x503C;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">0</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;order&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;select&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;order&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5927;&#x5C0F;&#x7AEF;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;options&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;big&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5927;&#x7AEF;&#x5728;&#x524D;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;little&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5C0F;&#x7AEF;&#x5728;&#x524D;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">]</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;byteOrder&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;maxLength&quot;</span><span class="token operator">:</span> <span class="token number">-1</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;byte order&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x89E3;&#x6790;&#x987A;&#x5E8F;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;dataOffset&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;data offset&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x6570;&#x636E;&#x504F;&#x79FB;&#x91CF;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">0</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;samplingMax&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;sampling max&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x91C7;&#x6837;&#x6700;&#x5927;&#x503C;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">0</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;samplingMin&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;sampling min&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x91C7;&#x6837;&#x6700;&#x5C0F;&#x503C;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">0</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;sampleCoef&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;sample coef&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x91C7;&#x6837;&#x7CFB;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">-1</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;unitCoef&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;unit coef&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5355;&#x4F4D;&#x7CFB;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">-1</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;range&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;range&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x91CF;&#x7A0B;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">-1</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;formulaProperty&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;maxLength&quot;</span><span class="token operator">:</span> <span class="token number">-1</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;formula property&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x516C;&#x5F0F;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre>
<h3 id="mqtt"><a name="mqtt" class="anchor-navigation-ex-anchor" href="#mqtt"><i class="fa fa-link" aria-hidden="true"></i></a>1.2.2. MQTT</h3>
<pre class="language-"><code class="lang-json"><span class="token punctuation">{</span>
    <span class="token property">&quot;name&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;maxLength&quot;</span><span class="token operator">:</span> <span class="token number">-1</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;name&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x53D8;&#x91CF;&#x540D;&#x79F0;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;propertyCategory&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;maxLength&quot;</span><span class="token operator">:</span> <span class="token number">-1</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;property category&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5B9E;&#x9645;&#x53D8;&#x91CF;&#x540D;&#x79F0;(&#x975E;&#x4E2D;&#x6587;)&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;unique&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;statType&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;select&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;stat type&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x7EDF;&#x8BA1;&#x7C7B;&#x578B;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;options&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x7D2F;&#x8BA1;&#x503C;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;0&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x77AC;&#x65F6;&#x503C;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">]</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;dataType&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;select&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;data type&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x6570;&#x636E;&#x7C7B;&#x578B;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;options&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;char&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;8&#x4F4D;&#x6709;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;byte&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;8&#x4F4D;&#x65E0;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;short&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;16&#x4F4D;&#x6709;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;word&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;16&#x4F4D;&#x65E0;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;DINT&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;32&#x4F4D;&#x6709;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Dword&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;32&#x4F4D;&#x65E0;&#x7B26;&#x53F7;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;float&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5355;&#x7CBE;&#x5EA6;&#x6D6E;&#x70B9;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;REAL&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x53CC;&#x7CBE;&#x5EA6;&#x6D6E;&#x70B9;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;String&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;String&#x5B57;&#x7B26;&#x4E32;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Long&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Long&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Boolean&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Boolean&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;short&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Short&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;hlong&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x6709;&#x7B26;&#x53F7;Long&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;ulong&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x65E0;&#x7B26;&#x53F7;Long&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;float&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Float&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;part&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;24&#x4F4D;&#x7279;&#x6B8A;&#x8BFB;&#x53D6;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;bit&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;value&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Bit&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">]</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;unit&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;maxLength&quot;</span><span class="token operator">:</span> <span class="token number">10</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;unit&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5355;&#x4F4D;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;sampleDeviation&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;sample deviation&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x6BCF;&#x5C0F;&#x65F6;&#x6570;&#x636E;&#x504F;&#x5DEE;&#x503C;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">0</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;samplingMax&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;sampling max&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x91C7;&#x6837;&#x6700;&#x5927;&#x503C;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">0</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;samplingMin&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;sampling min&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x91C7;&#x6837;&#x6700;&#x5C0F;&#x503C;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">0</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;sampleCoef&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;sample coef&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x91C7;&#x6837;&#x7CFB;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">-1</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;unitCoef&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;unit coef&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x5355;&#x4F4D;&#x7CFB;&#x6570;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">-1</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;range&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;number&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;range&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x91CF;&#x7A0B;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
        <span class="token property">&quot;precision&quot;</span><span class="token operator">:</span> <span class="token number">-1</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token property">&quot;formulaProperty&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;maxLength&quot;</span><span class="token operator">:</span> <span class="token number">-1</span><span class="token punctuation">,</span>
        <span class="token property">&quot;i18n&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token property">&quot;en_US&quot;</span><span class="token operator">:</span> <span class="token string">&quot;formula property&quot;</span><span class="token punctuation">,</span>
            <span class="token property">&quot;zh_CN&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&#x516C;&#x5F0F;&quot;</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;required&quot;</span><span class="token operator">:</span> <span class="token boolean">false</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre>
<h1 id="&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x6A21;&#x677F;api"><a name="&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x6A21;&#x677F;api" class="anchor-navigation-ex-anchor" href="#&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x6A21;&#x677F;api"><i class="fa fa-link" aria-hidden="true"></i></a>2. &#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x6A21;&#x677F;API</h1>
<h2 id="&#x65B0;&#x589E;&#x8BBE;&#x5907;&#x6A21;&#x677F;"><a name="&#x65B0;&#x589E;&#x8BBE;&#x5907;&#x6A21;&#x677F;" class="anchor-navigation-ex-anchor" href="#&#x65B0;&#x589E;&#x8BBE;&#x5907;&#x6A21;&#x677F;"><i class="fa fa-link" aria-hidden="true"></i></a>2.1. &#x65B0;&#x589E;&#x8BBE;&#x5907;&#x6A21;&#x677F;</h2>
<p>&#x65B0;&#x589E;&#x8BBE;&#x5907;&#x6A21;&#x677F;</p>
<h3 id="url"><a name="url" class="anchor-navigation-ex-anchor" href="#url"><i class="fa fa-link" aria-hidden="true"></i></a>2.1.1. URL</h3>
<pre class="language-"><code class="lang-http">POST api/deviceTemplate
</code></pre>
<h3 id="&#x53C2;&#x6570;"><a name="&#x53C2;&#x6570;" class="anchor-navigation-ex-anchor" href="#&#x53C2;&#x6570;"><i class="fa fa-link" aria-hidden="true"></i></a>2.1.2. &#x53C2;&#x6570;</h3>
<pre class="language-"><code class="lang-json"><span class="token punctuation">{</span>
    <span class="token property">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;remark&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;type&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;additionalInfo&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
<span class="token punctuation">}</span>
</code></pre>
<ul>
<li>name&#xFF1A;&#x534F;&#x8BAE;&#x6A21;&#x677F;&#x540D;&#x79F0;</li>
<li>remark&#xFF1A;&#x5907;&#x6CE8;</li>
<li>type&#xFF1A;&#x534F;&#x8BAE;&#x7C7B;&#x578B;&#x3002;&#x76EE;&#x524D;&#x53EA;&#x6709;&#xFF0C;MQTT&#xFF0C;MODBUS</li>
<li>additionalInfo&#xFF1A;&#x5176;&#x4ED6;&#x4FE1;&#x606F;</li>
</ul>
<h2 id="&#x4FEE;&#x6539;&#x8BBE;&#x5907;&#x6A21;&#x677F;"><a name="&#x4FEE;&#x6539;&#x8BBE;&#x5907;&#x6A21;&#x677F;" class="anchor-navigation-ex-anchor" href="#&#x4FEE;&#x6539;&#x8BBE;&#x5907;&#x6A21;&#x677F;"><i class="fa fa-link" aria-hidden="true"></i></a>2.2. &#x4FEE;&#x6539;&#x8BBE;&#x5907;&#x6A21;&#x677F;</h2>
<p>&#x4FEE;&#x6539;&#x8BBE;&#x5907;&#x6A21;&#x677F;</p>
<h3 id="url_1"><a name="url_1" class="anchor-navigation-ex-anchor" href="#url_1"><i class="fa fa-link" aria-hidden="true"></i></a>2.2.1. URL</h3>
<pre class="language-"><code class="lang-http">POST api/deviceTemplate/edit
</code></pre>
<h3 id="&#x53C2;&#x6570;_1"><a name="&#x53C2;&#x6570;_1" class="anchor-navigation-ex-anchor" href="#&#x53C2;&#x6570;_1"><i class="fa fa-link" aria-hidden="true"></i></a>2.2.2. &#x53C2;&#x6570;</h3>
<pre class="language-"><code class="lang-json"><span class="token punctuation">{</span>
    <span class="token property">&quot;id&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;remark&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;additionalInfo&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span>
<span class="token punctuation">}</span>
</code></pre>
<ul>
<li>id&#xFF1A;&#x5FC5;&#x4F20;&#xFF0C;&#x8981;&#x4FEE;&#x6539;&#x7684;&#x8BBE;&#x5907;&#x6A21;&#x677F;ID</li>
</ul>
<p>&#x6CE8;&#x610F;&#xFF1A;&#x4E0D;&#x5141;&#x8BB8;&#x4FEE;&#x6539;&#x534F;&#x8BAE;&#x7C7B;&#x578B;&#xFF0C;type</p>
<h2 id="&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x4EC5;&#x5305;&#x542B;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x6570;&#x636E;&#x4E0D;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;"><a name="&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x4EC5;&#x5305;&#x542B;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x6570;&#x636E;&#x4E0D;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;" class="anchor-navigation-ex-anchor" href="#&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x4EC5;&#x5305;&#x542B;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x6570;&#x636E;&#x4E0D;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;"><i class="fa fa-link" aria-hidden="true"></i></a>2.3. &#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x4EC5;&#x5305;&#x542B;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x6570;&#x636E;&#x4E0D;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;</h2>
<p>&#x67E5;&#x8BE2;&#x5355;&#x4E2A;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF0C;&#x8FD4;&#x56DE;&#x6570;&#x636E;&#x4E2D;&#x4E0D;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;</p>
<h3 id="url_2"><a name="url_2" class="anchor-navigation-ex-anchor" href="#url_2"><i class="fa fa-link" aria-hidden="true"></i></a>2.3.1. URL</h3>
<pre class="language-"><code class="lang-http">GET api/deviceTemplate/{id}
</code></pre>
<h3 id="&#x53C2;&#x6570;_2"><a name="&#x53C2;&#x6570;_2" class="anchor-navigation-ex-anchor" href="#&#x53C2;&#x6570;_2"><i class="fa fa-link" aria-hidden="true"></i></a>2.3.2. &#x53C2;&#x6570;</h3>
<ul>
<li>id&#xFF1A;&#x8BBE;&#x5907;&#x6A21;&#x677F;ID</li>
</ul>
<h3 id="&#x8FD4;&#x56DE;&#x7ED3;&#x679C;"><a name="&#x8FD4;&#x56DE;&#x7ED3;&#x679C;" class="anchor-navigation-ex-anchor" href="#&#x8FD4;&#x56DE;&#x7ED3;&#x679C;"><i class="fa fa-link" aria-hidden="true"></i></a>2.3.3. &#x8FD4;&#x56DE;&#x7ED3;&#x679C;</h3>
<pre class="language-"><code class="lang-json"><span class="token punctuation">{</span>
    <span class="token property">&quot;id&quot;</span><span class="token operator">:</span><span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x6A21;&#x677F;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;remark&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x6D4B;&#x8BD5;&#x6A21;&#x677F;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;type&quot;</span><span class="token operator">:</span><span class="token string">&quot;MQTT&quot;</span>
    <span class="token property">&quot;additionalInfo&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;createTime&quot;</span><span class="token operator">:</span><span class="token number">1916545161</span><span class="token punctuation">,</span>
    <span class="token property">&quot;tenantId&quot;</span><span class="token operator">:</span><span class="token string">&quot;af1w531874asfwqaa15d&quot;</span>
<span class="token punctuation">}</span>
</code></pre>
<h2 id="&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;"><a name="&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;" class="anchor-navigation-ex-anchor" href="#&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;"><i class="fa fa-link" aria-hidden="true"></i></a>2.4. &#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF08;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;</h2>
<p>&#x67E5;&#x8BE2;&#x5355;&#x4E2A;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#xFF0C;&#x8FD4;&#x56DE;&#x6570;&#x636E;&#x4E2D;&#x5E26;&#x6709;&#x8BE5;&#x6A21;&#x677F;&#x7684;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;</p>
<h3 id="url_3"><a name="url_3" class="anchor-navigation-ex-anchor" href="#url_3"><i class="fa fa-link" aria-hidden="true"></i></a>2.4.1. URL</h3>
<pre class="language-"><code class="lang-http">GET api/deviceTemplate/protocol/{id}
</code></pre>
<h3 id="&#x53C2;&#x6570;_3"><a name="&#x53C2;&#x6570;_3" class="anchor-navigation-ex-anchor" href="#&#x53C2;&#x6570;_3"><i class="fa fa-link" aria-hidden="true"></i></a>2.4.2. &#x53C2;&#x6570;</h3>
<ul>
<li>id&#xFF1A;&#x8BBE;&#x5907;&#x6A21;&#x677F;ID</li>
</ul>
<h3 id="&#x8FD4;&#x56DE;&#x7ED3;&#x679C;_1"><a name="&#x8FD4;&#x56DE;&#x7ED3;&#x679C;_1" class="anchor-navigation-ex-anchor" href="#&#x8FD4;&#x56DE;&#x7ED3;&#x679C;_1"><i class="fa fa-link" aria-hidden="true"></i></a>2.4.3. &#x8FD4;&#x56DE;&#x7ED3;&#x679C;</h3>
<pre class="language-"><code class="lang-json"><span class="token punctuation">{</span>
    <span class="token property">&quot;id&quot;</span><span class="token operator">:</span><span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x6A21;&#x677F;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;remark&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x6D4B;&#x8BD5;&#x6A21;&#x677F;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;additionalInfo&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;type&quot;</span><span class="token operator">:</span><span class="token string">&quot;MQTT&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;createTime&quot;</span><span class="token operator">:</span><span class="token number">1916545161</span><span class="token punctuation">,</span>
    <span class="token property">&quot;tenantId&quot;</span><span class="token operator">:</span><span class="token string">&quot;af1w531874asfwqaa15d&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;protocolList&quot;</span><span class="token operator">:</span><span class="token punctuation">[</span>
        <span class="token punctuation">{</span>
            &#x8BBE;&#x5907;&#x8BE6;&#x60C5;&#xFF0C;&#x5177;&#x4F53;&#x7ED3;&#x6784;&#x53C2;&#x8003;&#x5B9E;&#x9645;&#x8FD4;&#x56DE;&#x7684;&#x7ED3;&#x679C;....
        <span class="token punctuation">}</span>
    <span class="token punctuation">]</span>
<span class="token punctuation">}</span>
</code></pre>
<h2 id="&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x5217;&#x8868;"><a name="&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x5217;&#x8868;" class="anchor-navigation-ex-anchor" href="#&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x5217;&#x8868;"><i class="fa fa-link" aria-hidden="true"></i></a>2.5. &#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x5217;&#x8868;</h2>
<p>&#x67E5;&#x8BE2;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x5217;&#x8868;&#xFF08;&#x4E0D;&#x5305;&#x542B;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#xFF09;</p>
<h3 id="url_4"><a name="url_4" class="anchor-navigation-ex-anchor" href="#url_4"><i class="fa fa-link" aria-hidden="true"></i></a>2.5.1. URL</h3>
<pre class="language-"><code class="lang-http">GET api/deviceTemplate/list
</code></pre>
<h3 id="&#x53C2;&#x6570;_4"><a name="&#x53C2;&#x6570;_4" class="anchor-navigation-ex-anchor" href="#&#x53C2;&#x6570;_4"><i class="fa fa-link" aria-hidden="true"></i></a>2.5.2. &#x53C2;&#x6570;</h3>
<p>&#x65E0;</p>
<h3 id="&#x8FD4;&#x56DE;&#x7ED3;&#x679C;_2"><a name="&#x8FD4;&#x56DE;&#x7ED3;&#x679C;_2" class="anchor-navigation-ex-anchor" href="#&#x8FD4;&#x56DE;&#x7ED3;&#x679C;_2"><i class="fa fa-link" aria-hidden="true"></i></a>2.5.3. &#x8FD4;&#x56DE;&#x7ED3;&#x679C;</h3>
<pre class="language-"><code class="lang-json"><span class="token punctuation">[</span>
    <span class="token punctuation">{</span>
        <span class="token property">&quot;id&quot;</span><span class="token operator">:</span><span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x6A21;&#x677F;&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;remark&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x6D4B;&#x8BD5;&#x6A21;&#x677F;&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;additionalInfo&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;createTime&quot;</span><span class="token operator">:</span><span class="token number">1916545161</span><span class="token punctuation">,</span>
        <span class="token property">&quot;tenantId&quot;</span><span class="token operator">:</span><span class="token string">&quot;af1w531874asfwqaa15d&quot;</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span><span class="token punctuation">{</span>
        <span class="token property">&quot;id&quot;</span><span class="token operator">:</span><span class="token string">&quot;2&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x6A21;&#x677F;2&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;remark&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x6D4B;&#x8BD5;&#x6A21;&#x677F;2&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;additionalInfo&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
        <span class="token property">&quot;createTime&quot;</span><span class="token operator">:</span><span class="token number">19165451612</span><span class="token punctuation">,</span>
        <span class="token property">&quot;tenantId&quot;</span><span class="token operator">:</span><span class="token string">&quot;af1w531874asfwqaa15d2&quot;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">]</span>
</code></pre>
<h2 id="&#x5220;&#x9664;&#x6A21;&#x677F;&#x4FE1;&#x606F;"><a name="&#x5220;&#x9664;&#x6A21;&#x677F;&#x4FE1;&#x606F;" class="anchor-navigation-ex-anchor" href="#&#x5220;&#x9664;&#x6A21;&#x677F;&#x4FE1;&#x606F;"><i class="fa fa-link" aria-hidden="true"></i></a>2.6. &#x5220;&#x9664;&#x6A21;&#x677F;&#x4FE1;&#x606F;</h2>
<h3 id="url_5"><a name="url_5" class="anchor-navigation-ex-anchor" href="#url_5"><i class="fa fa-link" aria-hidden="true"></i></a>2.6.1. URL</h3>
<pre class="language-"><code class="lang-http">DELETE api/deviceTemplate/{id}
</code></pre>
<h3 id="&#x53C2;&#x6570;_5"><a name="&#x53C2;&#x6570;_5" class="anchor-navigation-ex-anchor" href="#&#x53C2;&#x6570;_5"><i class="fa fa-link" aria-hidden="true"></i></a>2.6.2. &#x53C2;&#x6570;</h3>
<ul>
<li>id&#xFF1A;&#x8BBE;&#x5907;&#x6A21;&#x677F;ID</li>
</ul>
<h2 id="&#x4FDD;&#x5B58;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x53CA;&#x534F;&#x8BAE;&#x4FE1;&#x606F;"><a name="&#x4FDD;&#x5B58;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x53CA;&#x534F;&#x8BAE;&#x4FE1;&#x606F;" class="anchor-navigation-ex-anchor" href="#&#x4FDD;&#x5B58;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x53CA;&#x534F;&#x8BAE;&#x4FE1;&#x606F;"><i class="fa fa-link" aria-hidden="true"></i></a>2.7. &#x4FDD;&#x5B58;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x53CA;&#x534F;&#x8BAE;&#x4FE1;&#x606F;</h2>
<p>&#x540C;&#x65F6;&#x4FDD;&#x5B58;&#x8BBE;&#x5907;&#x6A21;&#x677F;&#x4EE5;&#x53CA;&#x534F;&#x8BAE;&#x8BE6;&#x60C5;&#x4FE1;&#x606F;</p>
<h3 id="url_6"><a name="url_6" class="anchor-navigation-ex-anchor" href="#url_6"><i class="fa fa-link" aria-hidden="true"></i></a>2.7.1. URL</h3>
<pre class="language-"><code class="lang-http">POST api/deviceTemplate/save/deviceTemplateAndProtocol
</code></pre>
<h3 id="&#x53C2;&#x6570;_6"><a name="&#x53C2;&#x6570;_6" class="anchor-navigation-ex-anchor" href="#&#x53C2;&#x6570;_6"><i class="fa fa-link" aria-hidden="true"></i></a>2.7.2. &#x53C2;&#x6570;</h3>
<pre class="language-"><code class="lang-json"><span class="token punctuation">{</span>
    <span class="token property">&quot;id&quot;</span><span class="token operator">:</span><span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x6A21;&#x677F;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;remark&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x6D4B;&#x8BD5;&#x6A21;&#x677F;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;additionalInfo&quot;</span><span class="token operator">:</span><span class="token string">&quot;&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;createTime&quot;</span><span class="token operator">:</span><span class="token number">1916545161</span><span class="token punctuation">,</span>
    <span class="token property">&quot;tenantId&quot;</span><span class="token operator">:</span><span class="token string">&quot;af1w531874asfwqaa15d&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;protocolList&quot;</span><span class="token operator">:</span><span class="token punctuation">[</span>
        <span class="token punctuation">{</span>    
            <span class="token property">&quot;name&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x6709;&#x529F;&#x7535;&#x80FD;&quot;</span>
            &#x8BBE;&#x5907;&#x8BE6;&#x60C5;&#xFF0C;&#x5177;&#x4F53;&#x7ED3;&#x6784;&#x53C2;&#x8003;&#x5B9E;&#x9645;&#x8FD4;&#x56DE;&#x7684;&#x7ED3;&#x679C;....
        <span class="token punctuation">}</span>
    <span class="token punctuation">]</span>
<span class="token punctuation">}</span>
</code></pre>
<h2 id="&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x51FA;"><a name="&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x51FA;" class="anchor-navigation-ex-anchor" href="#&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x51FA;"><i class="fa fa-link" aria-hidden="true"></i></a>2.8. &#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x51FA;</h2>
<p>&#x5BFC;&#x51FA;&#x9009;&#x4E2D;&#x7684;&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x6A21;&#x677F;&#xFF08;&#x6279;&#x91CF;&#x5BFC;&#x51FA;&#xFF09;</p>
<h3 id="url_7"><a name="url_7" class="anchor-navigation-ex-anchor" href="#url_7"><i class="fa fa-link" aria-hidden="true"></i></a>2.8.1. URL</h3>
<pre class="language-"><code class="lang-http">POST api/deviceTemplate/export
</code></pre>
<h3 id="&#x53C2;&#x6570;&#x8BF4;&#x660E;"><a name="&#x53C2;&#x6570;&#x8BF4;&#x660E;" class="anchor-navigation-ex-anchor" href="#&#x53C2;&#x6570;&#x8BF4;&#x660E;"><i class="fa fa-link" aria-hidden="true"></i></a>2.8.2. &#x53C2;&#x6570;&#x8BF4;&#x660E;</h3>
<ul>
<li>id&#xFF1A;&#x8981;&#x5BFC;&#x51FA;&#x7684;&#x8BBE;&#x5907;&#x534F;&#x8BAE;ID&#x5217;&#x8868;&#xFF0C;&#x591A;&#x4E2A;&#x7528;<code>,</code>(&#x9017;&#x53F7;)&#x9694;&#x5F00;&#xFF0C;&#x5982;&#xFF1A;<code>1,2,3,4</code></li>
</ul>
<h3 id="&#x8FD4;&#x56DE;&#x503C;"><a name="&#x8FD4;&#x56DE;&#x503C;" class="anchor-navigation-ex-anchor" href="#&#x8FD4;&#x56DE;&#x503C;"><i class="fa fa-link" aria-hidden="true"></i></a>2.8.3. &#x8FD4;&#x56DE;&#x503C;</h3>
<p>&#x8FD4;&#x56DE;&#x503C;&#x4E3A;&#x5BFC;&#x51FA;&#x7684;&#x6587;&#x4EF6;&#xFF0C;&#x683C;&#x5F0F;&#x4E3A;&#xFF1A;<code>json</code>&#xFF0C;&#x6587;&#x4EF6;&#x540D;&#xFF1A;<code>deviceTemplate</code></p>
<h2 id="&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x5165;"><a name="&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x5165;" class="anchor-navigation-ex-anchor" href="#&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x5165;"><i class="fa fa-link" aria-hidden="true"></i></a>2.9. &#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x5BFC;&#x5165;</h2>
<p>&#x5BFC;&#x5165;&#x8BBE;&#x5907;&#x534F;&#x8BAE;&#x6A21;&#x677F;&#xFF08;&#x6279;&#x91CF;&#x5BFC;&#x5165;&#xFF09;</p>
<h3 id="url_8"><a name="url_8" class="anchor-navigation-ex-anchor" href="#url_8"><i class="fa fa-link" aria-hidden="true"></i></a>2.9.1. URL</h3>
<pre class="language-"><code class="lang-http">POST api/deviceTemplate/import
</code></pre>
<h3 id="&#x53C2;&#x6570;&#x8BF4;&#x660E;_1"><a name="&#x53C2;&#x6570;&#x8BF4;&#x660E;_1" class="anchor-navigation-ex-anchor" href="#&#x53C2;&#x6570;&#x8BF4;&#x660E;_1"><i class="fa fa-link" aria-hidden="true"></i></a>2.9.2. &#x53C2;&#x6570;&#x8BF4;&#x660E;</h3>
<ul>
<li>file&#xFF1A;&#x8981;&#x4E0A;&#x4F20;&#x7684;&#x6587;&#x4EF6;&#xFF0C;&#x5FC5;&#x987B;&#x4E3A;<code>.json</code>&#x6587;&#x4EF6;</li>
</ul>
<h3 id="&#x8FD4;&#x56DE;&#x503C;_1"><a name="&#x8FD4;&#x56DE;&#x503C;_1" class="anchor-navigation-ex-anchor" href="#&#x8FD4;&#x56DE;&#x503C;_1"><i class="fa fa-link" aria-hidden="true"></i></a>2.9.3. &#x8FD4;&#x56DE;&#x503C;</h3>
<pre class="language-"><code class="lang-json"><span class="token punctuation">{</span>
    <span class="token property">&quot;message&quot;</span><span class="token operator">:</span><span class="token string">&quot;&#x5BFC;&#x5165;&#x6210;&#x529F;&quot;</span>
<span class="token punctuation">}</span>
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"4.1 协议模板管理","level":"1.5.1","depth":2,"next":{"title":"5. 告警","level":"1.6","depth":1,"ref":"","articles":[{"title":"告警设置新增API","level":"1.6.1","depth":2,"path":"alarm/alarm-setting.md","ref":"alarm/alarm-setting.md","articles":[]},{"title":"告警记录新增API","level":"1.6.2","depth":2,"path":"alarm/alarm.md","ref":"alarm/alarm.md","articles":[]}]},"previous":{"title":"4. 协议模板","level":"1.5","depth":1,"ref":"","articles":[{"title":"4.1 协议模板管理","level":"1.5.1","depth":2,"path":"device_template/device_template.md","ref":"device_template/device_template.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["copy-code-button","splitter","-lunr","-search","search-plus","prism","prism-themes","-highlight","anchors","anchor-navigation-ex","alerts"],"pluginsConfig":{"prism":{"css":["prism-themes/themes/prism-base16-ateliersulphurpool.light.css"]},"splitter":{},"fontsettings":{"theme":"white","family":"sans","size":2},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"fa fa-hand-o-right","level2Icon":"fa fa-hand-o-right","level3Icon":"fa fa-hand-o-right","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"fa fa-hand-o-right","level2Icon":"fa fa-hand-o-right","level3Icon":"fa fa-hand-o-right","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":true},"prism-themes":{},"alerts":{},"copy-code-button":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"search-plus":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css"}},"file":{"path":"device_template/device_template.md","mtime":"2020-05-22T09:17:31.400Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-07-07T07:28:04.299Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-alerts/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

